﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewell.BizComponent.Reg.UI.VM
{
    public class PersonSexVm:NotifyPropertyChanged
    {
        /// <summary>
        /// 主键
        /// </summary>
        private int _no;
        public int no { get { return _no; } set { 
                if(this._no != value)
                {
                    this._no = value;
                    OnPropertyChanged(nameof(no));
                }
            } }
        /// <summary>
        /// 编码
        /// </summary>
        private string _code;
        public string code
        {
            get { return _code; }
            set
            {
                if (this._code != value)
                {
                    this._code = value;
                    OnPropertyChanged(nameof(code));
                }
            }
        }
        /// <summary>
        /// 名称
        /// </summary>
        private string _name;
        public string name
        {
            get { return _name; }
            set
            {
                if (this._name != value)
                {
                    this._name = value;
                    OnPropertyChanged(nameof(name));
                }
            }
        }
    }
}
